package com.nervenets.web.controller.handler.user.movie;

import com.nervenets.web.annotation.NeedValidation;
import com.nervenets.web.controller.handler.common.PagingParams;
import com.nervenets.web.enumeration.MovieReleaseStatus;
import com.nervenets.web.enumeration.MovieStatus;
import com.nervenets.web.enumeration.MovieType;
import com.nervenets.web.validation.Type;
import lombok.Data;
import lombok.EqualsAndHashCode;

@EqualsAndHashCode(callSuper = true)
@Data
public class MoviesParams extends PagingParams {
    @NeedValidation(type = Type.EMPTY, description = "影片类型，不填不筛选")
    private MovieType type;
    @NeedValidation(type = Type.EMPTY, description = "影片状态，不填不筛选")
    private MovieStatus status;
    @NeedValidation(type = Type.EMPTY, description = "影片发布状态，不填不筛选")
    private MovieReleaseStatus releaseStatus;
    @NeedValidation(type = Type.EMPTY, description = "关键字，不填不筛选")
    private String keyword;
    @NeedValidation(type = Type.EMPTY, description = "审核状态：0表示全部，1表示待审核，2表示审核失败，默认0")
    private int checking;
}
